<div class="main">         
    <div class="col-main">  
        <div class="account-create">
            <div class="page-title">
                <h1>Tạo tài khoản</h1>
            </div>
            <form id="formID" method="post" action="<?php echo base_url(); ?>users/register">
                <div class="fieldset">
                    <input type="hidden" value="" name="success_url">
                    <input type="hidden" value="" name="error_url">
                    <h2 class="legend">Thông tin người dùng</h2>
                    <ul class="form-list">
                        <li class="fields">
                            <div class="customer-name">
                                <div class="field name-firstname">
                                    <label class="required" for="firstname"><em>*</em>Tên đăng nhập</label>
                                    <div class="input-box">
                                        <input type="text" class="input-text required-entry validate[required]" title="Username" value="" name="txtUsername" id="firstname">
                                        <p style="color:red;"><?php echo $message1;?></p>
                                    </div>
                                </div>
                                <div class="field name-lastname">
                                    <label class="required" for="lastname"><em>*</em>Tên hiển thị</label>
                                    <div class="input-box">
                                        <input type="text" class="input-text required-entry validate[required]" title="Display name" value="" name="txtDisplayname" id="lastname">
                                    </div>
                                </div>
                            </div>
                        </li>                        
                        <li class="fields">
                            <div class="field">
                                <label class="required" for="email"><em>*</em>Email</label>
                                <div class="input-box">
                                    <input type="text" id="email" class="input-text required-entry validate[required,custom[email]]" title="Email" value="" name="txtEmail">
                                    <p style="color:red;"><?php echo $message2;?></p>
                                </div>
                            </div>    
                            <div class="field">
                                <label class="required" for="txtPhone"><em>*</em>Số điện thoại</label>
                                <div class="input-box">
                                    <input type="text" id="txtPhone" class="input-text required-entry validate[required]" title="Telephone" value="" name="txtPhone">
                                </div>
                            </div>                           
                        </li>
                    </ul>
                </div>
                <div class="fieldset">
                    <h2 class="legend">Thông tin đăng nhập</h2>
                    <ul class="form-list">
                        <li class="fields">
                            <div class="field">
                                <label class="required" for="password"><em>*</em>Mật khẩu</label>
                                <div class="input-box">
                                    <input type="password" class="input-text required-entry validate[required]" title="Password" id="txtPass" name="txtPass">
                                </div>
                            </div>
                            <div class="field">
                                <label class="required" for="confirmation"><em>*</em>Xác nhận mật khẩu</label>
                                <div class="input-box">
                                    <input type="password" class="input-text required-entry validate[required,equals[txtPass]]" id="confirmation" title="Confirm Password" name="confirmation">
                                </div>
                            </div>
                        </li>
                    </ul>                    
                </div>
                <div class="fieldset">
                    <h2 class="legend">Địa chỉ</h2>
                    <ul class="form-list">
                        <li class="wide">
                            <label class="required" for="street_1"><em>*</em>Địa chỉ</label>
                            <div class="input-box">
                                <input type="text" class="input-text required-entry validate[required]" id="street_1" title="Địa chỉ" value="" name="txtAddress">
                            </div>
                        </li>                        
                    </ul>
                    
                </div>
                <div class="buttons-set">
                    <p class="required">* Thông tin bắt buộc</p>
                    <p class="back-link"><a class="back-link" href="<?php echo base_url(); ?>users/login/"><small>« </small>Back</a></p>
                    <button class="button" title="Submit" type="submit"><span><span>Submit</span></span></button>
                </div>
            </form>            
        </div>
    </div>
</div>